﻿#menu
  %ul
    %li
      %a{href="order.ivp/list",id=((url_c=="order")?"morder_s":"morder")}
    %li
      %a{href="taskschedule.ivp",id=((url_c=="task" || url_c=="taskschedule")?"mtask_s":"mtask")}
    -if (user.HasPermission("finance") || user.HasPermission("logreport"))
      %li
        %a{href="logreport.ivp",id=((url_c=="logreport" || url_c=="dayreport" || url_c=="periodreport" || url_c=="productionreport" || url_c=="notarialactionreport" || url_c=="timereport")?"mreport_s":"mreport")}
    %li
      %a{href="client.ivp/list",id=((url_c=="client" || url_c=="person" || url_c=="company")?"mclient_s":"mclient")}
    %li
      %a{href="kb.ivp/tree",id=((url_c=="kb")?"mkb_s":"mkb")}
    -if (user.HasPermission("DictionaryAdmin"))
      %li
        %a{href="schedule.ivp/list",id=((url_c=="schedule" || url_c=="notarialaction" || url_c=="notarialregister" || url_c=="notarialsettings"  || url_c=="notarialformrange"  || url_c=="notarialform" || url_c=="notarialformhistory" || url_c=="enotexport")?"msettings_s":"msettings")}
    -if (user.HasPermission("UserAdmin"))
      %li
        %a{href="user.ivp/list",id=((url_c=="user")?"muser_s":"muser")}
    %li
      %a{href="about.ivp",id=((url_c=="about")?"mabout_s":"mabout")}